package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 答辩申请
 * </p>
 *
 * @author liwei
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("defense_group_apply")
@Schema(name="DefenseGroupApply对象", description="答辩申请")
public class DefenseGroupApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "答辩申请主键")
    @TableId(value = "defense_group_apply_id", type = IdType.AUTO)
    private Long defenseGroupApplyId;

     @Schema(description = "最初的主键;初次新增--最初的主键等于主键；审核不通过，修改--最初的主键等于初次新增的主键。")
    private Long originalDefenseGroupApplyId;

     @Schema(description = "计划编号")
    private Long academicYearId;

     @Schema(description = "subject.subject_id")
    private Long subjectId;

     @Schema(description = "student.student_id")
    private Long studentId;

     @Schema(description = "自定义表id")
    private Long designTableId;

     @Schema(description = "审核状态。审核中：0；审核通过：100 ；审核不通过：101;不审核 ：5")
    private Integer auditState;

     @Schema(description = "是否批量审核。是：1；否：0")
    private Integer isBatchAudit;

     @Schema(description = "审核时间")
    private LocalDateTime auditTime;

     @Schema(description = "允许修改-- 审核通过，管理员/教秘/院长/专负 --给申报人允许修改权限--申报人修改后回收允许修改权限。否： 0；是：1")
    private Integer allowModifty;

     @Schema(description = "创建时间")
    private LocalDateTime createTime;

     @Schema(description = "最后修改时间")
    private LocalDateTime modifyTime;

     @Schema(description = "创建人")
    private Long createBy;

     @Schema(description = "最后修改人")
    private Long modifyBy;

     @Schema(description = "是否删除  0：否；1：是")
    private Integer isDelete;

     @Schema(description = "数据类型。0：正式数据；1：历史数据；2：草稿数据")
    private Integer dataType;

     @Schema(description = "答辩申请类型")
    private String menuPageCode;


}
